package pack0714.org;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        List<String>list=new ArrayList<>();  //非同步的

        List<String> list1= Collections.synchronizedList(list);  //同步的
    }
}
